package com.vision.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import org.hibernate.validator.constraints.URL;

import java.time.LocalDateTime;

/**
 * @projectName: vision
 * @package: com.vision.pojo.vo
 * @className: ChatListVO
 * @author: escapeicon@gmail.com
 * @description: 审核视频 VO
 * @date: 2024/1/20 9:59
 * @version: 1.0
 */
@Data
public class ReviewVideoVO {
    private Integer id;
    private Integer userId;
    private String username;
    private String nickname;
    private String avatar;
    @NotEmpty
    private String title;
    private String description;
    @URL
    private String videoUrl;
    @URL
    private String coverUrl;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime uploadTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    private Long duration; // 视频时长 单位 s
    private Integer views;
    private Integer state; // 视频状态 0：未审核 1：审核通过 2：审核未通过
    private Integer reviewProcess; // 审核阶段 1:提交审核阶段 2:审核完成待确认
}
